#include "stm32f10x.h"                  // Device header

#ifndef __2_0TFTSPI_H_
#define __2_0TFTSPI_H_

#define OLED_COLUMN_NUMBER 240
#define OLED_LINE_NUMBER 320
#define OLED_COLUMN_OFFSET 0
#define RED 	0XFF0000
#define GREEN  	0X00FF00
#define BLUE 	0X0000FF
#define BLUISH 	0XFFFF
void OLED_init(void);
void OLED_clear(void);
void OLED_full(unsigned long color);
void Picture_display(const unsigned char *ptr_pic,uint16_t CS,uint16_t CE,uint16_t RS,uint16_t RE);
void display_char8_16(unsigned int x,unsigned int y,unsigned long color, char car);
void display_string8_16(unsigned int x,unsigned int y,unsigned long color,char *string);
void display_NUmber8_16(unsigned int x,unsigned int y,unsigned long color,unsigned int number,uint8_t wei);
#endif